package com.springboot.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author: lzh
 */
@Data
public class HealthRecordDTO {

    @NotNull(message = "住户id不能为空")
    private Integer wxUserId;

    @NotBlank(message = "温度不能为空")
    private Double temperature;
}
